package com.haiyan.demo.problem02;

public class Test {
    public static void main(String[] args) {
        LaoZhang lz=new LaoZhang("老张","男",22,"驻马店");
        XiaoZhang xz=new XiaoZhang("小张","男",24,"郑州");
        lz.getMoney();
        xz.getMoney();
    }
}
